Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Numeric zero,one, WrappedArray.{sum,product} #69

Open
wants to merge 3 commits into
base: 2.12.x
Choose a base branch
from

Conversation

retronym
Copy link
Owner

No description provided.

@mkeskells
Copy link

mkeskells commented Aug 30, 2019

Can we also consider min and max
They are both allocation heavy for boxing doubles from Arrays

}
z
} else {
super.sum[B]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be super.sum(num)
avoid any implicit that may be in scope, and avoid the implicit scan
and for me - makes it more obvious

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants